<ul class="<!-- IF S_HAS_RATED or not S_CAN_RATE -->rated<!-- ELSE -->rating<!-- ENDIF -->" id="rating_{OBJECT_ID}">
<!-- BEGIN stars -->
	<li><!-- IF S_CAN_RATE --><a href="{stars.RATE_URL}"><!-- ENDIF --><img id="rating_{ARTICLE_ID}_{stars.ID}" alt="{stars.ALT}" title="{stars.ALT}"
	<!-- IF S_HAS_RATED && stars.ID <= ARTICLE_RATING -->
		class="green" src="{UA_GREEN_STAR_SRC}"
	<!-- ELSEIF not S_HAS_RATED && stars.ID <= ARTICLE_RATING -->
		class="orange" src="{UA_ORANGE_STAR_SRC}"
	<!-- ELSE -->
		class="grey" src="{UA_GREY_STAR_SRC}"
	<!-- ENDIF -->
	/><!-- IF S_CAN_RATE --></a><!-- ENDIF --></li>
<!-- END stars -->
	<li<!-- IF not S_HAS_RATED --> class="hidden"<!-- ENDIF -->><a href="<!-- IF S_AJAX -->javascript:rateArticle(0)<!-- ELSE -->{RATE_URL}<!-- ENDIF -->">
		<img id="remove_{ARTICLE_ID}" class="remove" src="{UA_REMOVE_STAR_SRC}" alt="{L_REMOVE_RATING}" title="{L_REMOVE_RATING}" />
	</a></li>
</ul>